package com.xianyun.site.iblog.dto.user;

import com.xianyun.common.core.domain.IQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author mac_zyj
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SystemUserInfoQry extends IQuery implements Serializable {
    private static final long serialVersionUID = 1L;
    /**Token*/
    @NotEmpty(message = "Token不能为空")
    private String token;
    /**用户 ID */
    @NotNull(message = "用户ID不能为空")
    private Long uid;
}
